<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="header">
            <img class="img " src="statics/images/titheader.svg">
            <span id="newTitle">添加，修改菜单</span>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="" lay-filter="menu-form">
                <div class="layui-form-item">
                    <label class="layui-form-label">上级菜单</label>
                    <div class="layui-input-block">
                        <input type="text" name="parentName" id="parentName" required lay-verify="required" autocomplete="off" class="layui-input">
                        <input type="hidden" name="pid" id="pid">
                        <input type="hidden" name="level" id="level">
                        <input type="hidden" name="id" id="id">
                    </div>
                    <%--<div class="layui-input-block">
                        <input type="text" name="name" />
                        <table class="layui-table" id="menusettingtabletitle" lay-filter="menusettingtable"></table>
                        <select name="text1" lay-filter="text8" required lay-verify="required">
                            <option value=""></option>
                            <option value="text1">text1</option>
                        </select>
                    </div>--%>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">菜单名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" id="name" required lay-verify="required" autocomplete="off"
                               class="layui-input">
                    </div>
                </div>
               <div class="layui-form-item">
                    <label class="layui-form-label">菜单编码</label>
                    <div class="layui-input-block">
                        <input type="text" name="code" id="code" required lay-verify="required" autocomplete="off"
                               class="layui-input">
                    </div>
                </div>
               <%-- <div class="layui-form-item">
                    <label class="layui-form-label">菜单描述</label>
                    <div class="layui-input-block">
                        <textarea name="text4" placeholder="请输入内容" class="layui-textarea"></textarea>
                    </div>
                </div>--%>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit  lay-filter="menu-form-element">立即提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/SystemCenter/tpl/newupmenu.js"></script>